﻿#include <string>

namespace Error
{
	struct Matrix_error
	{
		std::string error_message;
		Matrix_error(int i)
		{
			switch(i)
			{
			case 0:
				error_message = "Matrix Size Not Match! \n";
				break;
			case 1:
				error_message = "Matrix Pointer Not Match! \n";
				break;
			}
		}
	};
	struct Syntax_error
	{
		std::string error_message;
		Syntax_error(int i)
		{
			switch(i)
			{
			case 0:
				error_message = "연산자에 \\ 가 적절히 처리되지 않았습니다 \n";
				break;
			case 1:
				error_message = "General Syntax Error! \n";
				break;
			case 2:
				error_message = "Location referencing invalid \n";
				break;
			case 3:
				error_message = "Invalid operator name \n";
				break;
			case 4:
				error_message = "괄호가 일치하지 않습니다! \n";
				break;
			}
		}
	};
	struct General_error
	{
		std::string error_message;
		General_error(int i)
		{
			switch(i)
			{
			case 0:
				error_message = "General Error.. function abort! \n";
				break;
			}
		}
	};
}